/*
    Document   : style
    Created on : 23-mar-2013, 15:08:20
    Author     : ervaka
    Description:
        Purpose of the stylesheet follows.
*/

@font-face{
    font-family: 'Pacifico', Arial;
}

::selection {
    background: #F84;
}

body{
    font-family: 'Dosis', Arial;
    font-size: 18px;
    margin:0;
    background: url(../images/body.jpg);
}

#header{
    background: url(../images/bar.png);
    background-size: contain;
    padding: 0 10px;
    height: 48px;
    border-bottom: 4px solid #f84;
}
.adminTable{
    margin-top: 9px;
    margin-right: 8px;
}
.infoLogin{
    color: #ccc;
    float:right;
    height: 0;
    text-align: right;
}
.loginPanel{
    position: relative;
    z-index: 10;
    background: rgba(255,160,80,0.8);
}
.logo {
    font-family: 'Pacifico';
    font-size: 2em;
    color: #f84;
    text-shadow: 1px 1px 1px white;
    float:left;
    transition: 0.2s;
    line-height: 48px;
}
.logo:hover {
    text-shadow: 2px 2px 5px #333;
}

/*
 * Panel Registro
 */
.registerDialog * {
    line-height: normal;
    font-size: 110%;
}
.registerDialog tr {
    background: none;
}

.registerDialog .ui-panelgrid * {
    border: 0;
}

.registerDialog .ui-dialog-content {
    text-align: center;
    background: url('../images/lighttile.png');
}

.registerDialog .titles{
    text-align: right;
}

.registerDialog .registerBtn{
    margin-top: 10px;
}
.ui-widget-overlay {
    background: #333;
    opacity: 0.6;
    filter: Alpha(Opacity=60);
}
.ui-menuitem-link {
    transition: 0.5s;
}

div#sidebar{
    float:left;
    width:20%;
}

div#content{
    float: left;
    width: 80%;
}

.headerTitle {
    font-size: 21px;
    line-height: 36px;
}


.ui-datatable-header img.imgBtn{
    float: right;
    height: 24px;
}

.detailTable, .detailTable .ui-datatable-header * {
    font-size: 16px !important;
    line-height: 20px !important;
}
.indexContainer{
    width:100%;
    text-align: center;
    padding-top: 10%;
    padding-left: 13%;
}
.welcomeText{
    margin: 10% auto;
    text-decoration: none;
    color: #333;
    font-size: 24px;
    background: rgba(255,255,255,0.5);
    padding: 1em 2em;
    border-radius: 12px;
    text-shadow: 1px 1px 1px #F84;
    transition: 0.3s;
}

.welcomeText:hover{
    background: rgba(255,255,255,0.9);
}


.title{
    font-size: 120%;
}

.editLabel{
    font-size: 14px;
    text-align: right;
    width: 20%;
    vertical-align: top;
}

.editValue{
    font-size: 18px;
    text-align: left;
}
.editValue *{
    width: 98%;

}
.editValue textarea{
    height: 200px;
}
.adminTable .ui-panelgrid td, .adminTable .ui-panelgrid tr {
    border:0 !important;
}
.editForm button {
    font-size: 14px !important;
}

.imgBtn:hover {
    background: rgba(255, 136, 68, 0.7);
    border-radius: 34px;
}
img.imgBtn {
    padding: 4px 4px;
    transition: 0.5s;
    height: 40px;
}
.imgBtnOk:hover {
    background-color: rgba(140,196,116,0.8) !important;
}

.imgBtnDelete:hover {
    background-color: rgba(219, 68, 55, 0.8) !important;
}
.purchaseForm {
    text-align: right;
}
.accede {
    color: #f84 !important ;
    text-decoration: none;
    font-weight: bold;
    transition:0.2s;
}
.accede:hover {
    color: #333 !important ;
    font-weight: bold;
}
.price {
    float: right;
    font-size: 36px;
    text-shadow: 2px 1px 3px #F84;
}
.searchDiv{
    text-align:center;
    margin: 0 auto;
    width: 300px;
    background: #EEE;
    border-radius: 20px;
    box-shadow: inset 0 2px 2px #999;
}
.searchDivContainer{
    padding-top: 8px;
}

.searchDiv input{
    border: none;
    background: none;
    box-shadow: none !important;
    width: 250px;
    vertical-align: middle;
}

#productsTable textarea {
    width: 100%;
}
.searchDiv img{
    vertical-align: middle;
    height: 32px;
}
.invisible{
    visibility: hidden;
}
.panel{
    margin-top: 9px;
    margin-right: 8px;
}
.fecha{
    text-align: right;
}

.cartPanel{
    color: white;
    vertical-align: top;
    line-height: 48px;
    background: rgba(140,196,116,0.8);
    padding: 7px 4px 7px 10px;
    border-radius: 20px;
    text-shadow: 0 1px 0 #333;
}
.cartBtn{
    line-height: 48px;
    padding: 4px;
    transition: 0.5s;
}
.cartBtn:hover{
    -webkit-filter: invert(1);
}
.displayNone{
    display: none;
}
.tableBtn{
    height: 32px;
    padding: 2px 1px 0 0;
}
#advSearchForm * {
    white-space: normal;
}

.productsGrid > div {
    background: none;
    border: 0;
    margin-top: 4px;
    margin-right: 3px;
}

.isAdmin{
    color:green !important;
}

.isNotAdmin{
    color:red !important;
}